home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 June (DVD) / DPPRO0605DVD.iso / Install / program files / Borland / BDS / 3.0 / Schemas / asp schemas / asp_directives.xsd next >
Encoding:
Extensible Markup Language  |  2004-10-22  |  5.9 KB  |  137 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xsd:schema targetNamespace='http://schemas.microsoft.com/AspNet/WebControls'
  3.         elementFormDefault='qualified'
  4.         xmlns:xsd='http://www.w3.org/2001/XMLSchema'
  5.         xmlns='http://schemas.microsoft.com/AspNet/WebControls'
  6.         xmlns:vs='http://schemas.microsoft.com/Visual-Studio-Intellisense'
  7.                vs:friendlyname='Web Forms Controls'
  8.                vs:ishtmlschema='false'
  9.                vs:iscasesensitive='false'
  10.                vs:requireattributequotes='false'>
  11.  
  12. <xsd:annotation>
  13.     <xsd:documentation>
  14.     Directives for ASP Forms
  15.     </xsd:documentation>
  16. </xsd:annotation>
  17.  
  18. <!-- valid top-level elements -->
  19.   <xsd:element name="@ Page" type="PageDef" vs:implicitclosure="true" />
  20.   <xsd:element name="@ Control" type="ControlDef" vs:implicitclosure="true" />
  21.   <xsd:element name="@ Import" type="ImportDef" vs:implicitclosure="true" />
  22.   <xsd:element name="@ Implements" type="ImplementsDef" vs:implicitclosure="true" />
  23.   <xsd:element name="@ Register" type="RegisterDef" vs:implicitclosure="true" />
  24.   <xsd:element name="@ Assembly" type="AssemblyDef" vs:implicitclosure="true" />
  25.   <xsd:element name="@ OutputCache" type="OutputCacheDef" vs:implicitclosure="true" />
  26.   <xsd:element name="@ Reference" type="ReferenceDef" vs:implicitclosure="true" />
  27.  
  28. <xsd:complexType name="PageDef">
  29.   <xsd:attribute name="AspCompat" type="xsd:boolean" />
  30.   <xsd:attribute name="AutoEventWireup" type="xsd:boolean" />
  31.   <xsd:attribute name="Buffer" type="xsd:boolean" />
  32.   <xsd:attribute name="ClassName" type="xsd:string" />
  33.   <xsd:attribute name="ClientTarget" type="xsd:string" />
  34.   <xsd:attribute name="CodePage" type="xsd:string" />
  35.   <xsd:attribute name="Codebehind" type="xsd:string" />
  36.   <xsd:attribute name="CompilerOptions" type="xsd:string" />
  37.   <xsd:attribute name="ContentType" type="xsd:string" />
  38.   <xsd:attribute name="Culture" type="xsd:string" />
  39.   <xsd:attribute name="Debug" type="xsd:string" />
  40.   <xsd:attribute name="Description" type="xsd:string" />
  41.   <xsd:attribute name="EnableSessionState" type="xsd:boolean" />
  42.   <xsd:attribute name="EnableViewState" type="xsd:boolean" />
  43.   <xsd:attribute name="EnableViewStateMac" type="xsd:boolean" />
  44.   <xsd:attribute name="ErrorPage" type="xsd:string" />
  45.   <xsd:attribute name="Explicit" type="xsd:boolean" />
  46.   <xsd:attribute name="Inherits" type="xsd:string" />
  47.   <xsd:attribute name="Language" type="xsd:string" />
  48.   <xsd:attribute name="LCID" type="xsd:string" />
  49.   <xsd:attribute name="ResponseEncoding" type="xsd:string" />
  50.   <xsd:attribute name="Src" type="xsd:string" />
  51.   <xsd:attribute name="SmartNavigation" type="xsd:string" />
  52.   <xsd:attribute name="Strict" type="xsd:boolean" />
  53.   <xsd:attribute name="Trace" type="xsd:boolean" />
  54.   <xsd:attribute name="TraceMode" type="xsd:string" />
  55.   <xsd:attribute name="Transaction" />
  56.     <xsd:simpleType>
  57.       <xsd:restriction base="xsd:string">
  58.         <xsd:enumeration value="Disabled" />
  59.         <xsd:enumeration value="NotSupported" />
  60.         <xsd:enumeration value="Supported" />
  61.         <xsd:enumeration value="Required" />
  62.         <xsd:enumeration value="RequiresNew" />
  63.       </xsd:restriction>
  64.     </xsd:simpleType>
  65.   <xsd:attribute name="UICulture" type="xsd:string" />
  66.   <xsd:attribute name="WarningLevel" type="xsd:integer" />
  67. </xsd:complexType>
  68.  
  69. <xsd:complexType name="ControlDef">
  70.   <xsd:attribute name="AutoEventWireup" type="xsd:boolean" />
  71.   <xsd:attribute name="ClassName" type="xsd:string" />
  72.   <xsd:attribute name="CodeBehind" type="xsd:string" />
  73.   <xsd:attribute name="CompilerOptions" type="xsd:string" />
  74.   <xsd:attribute name="Debug" type="xsd:string" />
  75.   <xsd:attribute name="Description" type="xsd:string" />
  76.   <xsd:attribute name="EnableViewState" type="xsd:boolean" />
  77.   <xsd:attribute name="Explicit" type="xsd:boolean" />
  78.   <xsd:attribute name="Inherits" type="xsd:string" />
  79.   <xsd:attribute name="Language" type="xsd:string" />
  80.   <xsd:attribute name="Strict" type="xsd:boolean" />
  81.   <xsd:attribute name="Src" type="xsd:string" />
  82.   <xsd:attribute name="WarningLevel" type="xsd:integer" />
  83. </xsd:complexType>
  84.  
  85. <xsd:complexType name="ImportDef">
  86.   <xsd:attribute name="namespace" type="xsd:string" />
  87. </xsd:complexType>
  88.  
  89. <xsd:complexType name="ImplementsDef">
  90.   <xsd:attribute name="interface" type="xsd:string" />
  91. </xsd:complexType>
  92.  
  93. <xsd:complexType name="RegisterDef">
  94.   <xsd:attribute name="tagprefix" type="xsd:string" />
  95.   <xsd:attribute name="tagname" type="xsd:string" />
  96.   <xsd:attribute name="Namespace" type="xsd:string" />
  97.   <xsd:attribute name="Src" type="xsd:string" />
  98.   <xsd:attribute name="Assembly" type="xsd:string" />
  99. </xsd:complexType>
  100.  
  101. <xsd:complexType name="AssemblyDef">
  102.   <xsd:attribute name="Name" type="xsd:string" />
  103.   <xsd:attribute name="Src" type="xsd:string" />
  104. </xsd:complexType>
  105.  
  106. <xsd:complexType name="OutputCache">
  107.   <xsd:attribute name="Duration" type="xsd:string" />
  108.   <xsd:attribute name="Location" type="xsd:string" />
  109.     <xsd:simpleType>
  110.       <xsd:restriction base="xsd:string">
  111.         <xsd:enumeration value="Any" />
  112.         <xsd:enumeration value="Client" />
  113.         <xsd:enumeration value="Downstream" />
  114.         <xsd:enumeration value="None" />
  115.         <xsd:enumeration value="Server" />
  116.       </xsd:restriction>
  117.     </xsd:simpleType>
  118.   <xsd:attribute name="VaryByCustom" type="xsd:string" />
  119.   <xsd:attribute name="VaryByHeader" type="xsd:string" />
  120.   <xsd:attribute name="VaryByParam" type="xsd:string" />
  121.   <xsd:attribute name="VaryByControl" type="xsd:string" />
  122. </xsd:complexType>
  123.  
  124. <xsd:complexType name="ReferenceDef">
  125.   <xsd:attribute name="Page" type="xsd:string" />
  126.   <xsd:attribute name="Control" type="xsd:string" />
  127. </xsd:complexType>
  128.  
  129. <xsd:simpleType name="boolean">
  130.   <xsd:restriction base="xsd:string">
  131.     <xsd:enumeration value="true" />
  132.     <xsd:enumeration value="false" />
  133.   </xsd:restriction>
  134. </xsd:simpleType>
  135.  
  136. </xsd:schema>
  137.